home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Tk_GetVRootGeometry(3)Tk Library Procedures
-
-
-
- _________________________________________________________________
-
- NAME
- Tk_GetVRootGeometry - Get location and size of virtual root
- for window
-
- SYNOPSIS
- #include <tk.h>
-
- Tk_GetVRootGeometry(_t_k_w_i_n, _x_P_t_r, _y_P_t_r, _w_i_d_t_h_P_t_r, _h_e_i_g_h_t_P_t_r)
-
- ARGUMENTS
- Tk_Window _t_k_w_i_n (in) Token for window whose
- virtual root is to be
- queried.
-
- int _x_P_t_r (out) Points to word in which to
- store x-offset of virtual
- root.
-
- int _y_P_t_r (out) Points to word in which to
- store y-offset of virtual
- root.
-
- unsigned int _w_i_d_t_h_P_t_r(out)
- Points to word in which to
- store width of virtual
- root.
-
- unsigned int _h_e_i_g_h_t_P_t_r(out)
- Points to word in which to
- store height of virtual
- root.
- _________________________________________________________________
-
-
- DESCRIPTION
- TkGetVRootGeometry returns geometry information about the
- virtual root window associated with _t_k_w_i_n. The ``associ-
- ated'' virtual root is the one in which _t_k_w_i_n's nearest
- top-level ancestor (or _t_k_w_i_n itself if it is a top-level
- window) has been reparented by the window manager. This
- window is identified by a __SWM_ROOT or __WM_ROOT property
- placed on the top-level window by the window manager. If
- _t_k_w_i_n is not associated with a virtual root (e.g. because
- the window manager doesn't use virtual roots) then *_x_P_t_r and
- *_y_P_t_r will be set to 0 and *_w_i_d_t_h_P_t_r and *_h_e_i_g_h_t_P_t_r will be
- set to the dimensions of the screen containing _t_k_w_i_n.
-
-
- KEYWORDS
- geometry, height, location, virtual root, width, window
-
-
-
- Tk 1
-
-
-
-
-
-
- Tk_GetVRootGeometry(3)Tk Library Procedures
-
-
-
- manager
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Tk 2
-
-
-
-